{extend name="index_layout"/}
{block name="main"}
<form class="layui-form" id="c" method="post">
    <input type="hidden" name="goods_id" value="{$goods_id}">

    <div class="layui-form-item">
        <label class="layui-form-label">返现金额</label>
        <div class="layui-input-block">
            <input type="text" name="money" lay-verify="required" autocomplete="off" placeholder="返现金额"
                   value="{$money}" class="layui-input">
        </div>
    </div>
<!--    <div class="layui-form-item">-->
<!--        <label class="layui-form-label">二级返现</label>-->
<!--        <div class="layui-input-block">-->
<!--            <input type="text" name="money2" lay-verify="required" autocomplete="off" placeholder="二级返现"-->
<!--                   value="{$money2}" class="layui-input">-->
<!--        </div>-->
<!--    </div>-->


    <div class="layui-form-item layer-footer">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
{/block}
{block name="script"}
<script type="text/javascript">
    layui.use(['yznForm', 'form'], function () {
        var yznForm = layui.yznForm;
        var form = layui.form;
        yznForm.bindevent($("form.layui-form"));

        laydate.render({
            elem: '#ID-laydate'
        });

    });


</script>
{/block}